package com.d0315;

import java.util.Objects;

public class Person {
    protected String name;
    protected String address;
    protected char sex;
    protected int age;

    public Person(String name, String address, char sex, int age) {
        this.name = name;
        this.address = address;
        this.sex = sex;
        this.age = age;
    }
    public Person(){

    }
    public void print(){
        System.out.println("name="+name+"address="+address+"sex="+sex+",age="+age);
    }
}
